package com.bw.kotlindemo.java.model.bean;

import java.util.List;

public class TypeBean {

    /**
     * result : [{"createTime":1576458330000,"id":101,"imageUrl":"http://mobile.bwstudent.com/images/live/liveType/campus.png","name":"校园","rank":4},{"createTime":1576458330000,"id":102,"imageUrl":"http://mobile.bwstudent.com/images/live/liveType/food.png","name":"美食","rank":3},{"createTime":1576458331000,"id":103,"imageUrl":"http://mobile.bwstudent.com/images/live/liveType/health.png","name":"健身","rank":2},{"createTime":1576458332000,"id":104,"imageUrl":"http://mobile.bwstudent.com/images/live/liveType/game.png","name":"音乐","rank":1}]
     * message : 查询成功
     * status : 0000
     */

    private String message;
    private String status;
    private List<ResultBean> result;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<ResultBean> getResult() {
        return result;
    }

    public void setResult(List<ResultBean> result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * createTime : 1576458330000
         * id : 101
         * imageUrl : http://mobile.bwstudent.com/images/live/liveType/campus.png
         * name : 校园
         * rank : 4
         */

        private long createTime;
        private int id;
        private String imageUrl;
        private String name;
        private int rank;

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getRank() {
            return rank;
        }

        public void setRank(int rank) {
            this.rank = rank;
        }
    }
}

